package com.ruoyi.store.domain;
import lombok.Data;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品管理表 v_good
 * 
 * @author Enzo
 * @date 2019-03-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "v_good")
public class VGood extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	

	/**字段描述  主键 */
	@Id
	@Column(name = "good_id")
	private Long goodId;

	/**字段描述  商品名称 */
	@Column(name = "good_name")
	private String goodName;

	/**字段描述  商品价格 */
	@Column(name = "good_price")
	private BigDecimal goodPrice;

	/**字段描述  单位 */
	@Column(name = "good_nuit")
	private String goodNuit;

	/**字段描述  商品图片 */
	@Column(name = "good_pic")
	private String goodPic;

	/**字段描述  状态 */
	@Column(name = "good_status")
	private String goodStatus;

	/**字段描述  商品简介 */
	@Column(name = "good_desc")
	private String goodDesc;

	/**字段描述  创建时间 */
	@Column(name = "good_ctime")
	private Date goodCtime;

	/**字段描述  分类ID */
	@Column(name = "good_item_id")
	private Long goodItemId;

	/**字段描述  门店ID */
	@Column(name = "good_store_id")
	private Long goodStoreId;

	/**字段描述  删除状态 */
	@Column(name = "del_state")
	private Integer delState;

	/**字段描述  详细描述 */
	@Column(name = "detail_describe")
	private String detailDescribe;

	/**字段描述  推荐 */
	@Column(name = "recommend")
	private Integer recommend;




}
